#ifndef _TAN_NBOBJECT_H_
#define _TAN_NBOBJECT_H_

#include "tanobject.h"

typedef struct tan_number_object
{
	TanVar base;
	TAN_INT64 number;
} TanNumberObject;

TAN_INTERFACE_FUNC(TanObject*) Tan_Number_fromString(const TAN_INT8* str, tan_size_t len);
TAN_INTERFACE_FUNC(TanObject*) Tan_Number(const TAN_INT64 number);

TAN_INTERFACE_FUNC(TanObject*) Tan_Number_Copy(TanObject* number);

#define Tan_Number_cast(ob) ((TanNumberObject*)ob)

#endif // !_TAN_NBOBJECT_H_

